package com.sunducation.wts.lifecycle

import android.util.Log
import androidx.lifecycle.Lifecycle
import androidx.lifecycle.LifecycleObserver
import androidx.lifecycle.OnLifecycleEvent

class MyServiceLifeCycleObserver : LifecycleObserver{
    private val TAG = "MSLCO"
    @OnLifecycleEvent(Lifecycle.Event.ON_CREATE)
    private fun testCreate() {
        Log.i(TAG, "testCreate")
    }
    @OnLifecycleEvent(Lifecycle.Event.ON_DESTROY)
    private fun testDestroy() {
        Log.i(TAG, "testDestroy")
    }
}